+++ /dev/null
-if PACKAGE_openssh-server
-
-config OPENSSH_LIBFIDO2
- bool
- default y
- prompt "Include libfido2 support in openssh-server"
- help
- OpenSSH version 8.2 added two new ssh authentication methods,
- namely `ecdsa_sk` and `ed25519_sk`. These two methods make use
- of hardware keys that implement the FIDO and FIDO2 protocols.
- In order to use these two types, libfido2 is required.
-endif
#While bumping new version, make sure that it works without it, so it can be removed.
PKG_FIXUP:=autoreconf
PKG_REMOVE_FILES:=
-PKG_CONFIG_DEPENDS := \
- CONFIG_OPENSSH_LIBFIDO2
-
-PKG_BUILD_DEPENDS += OPENSSH_LIBFIDO2:libfido2
include $(INCLUDE_DIR)/package.mk
define Package/openssh-server
$(call Package/openssh/Default)
- DEPENDS+= +libopenssl +zlib +openssh-keygen +OPENSSH_LIBFIDO2:libfido2
+ DEPENDS+= +libopenssl +zlib +openssh-keygen
TITLE+= server
USERID:=sshd=22:sshd=22
VARIANT:=without-pam
endef
-define Package/openssh-server/config
- source "$(SOURCE)/Config.in"
-endef
-
define Package/openssh-server/description
OpenSSH server.
endef
--without-kerberos5 \
--with-stackprotect \
--with$(if $(CONFIG_OPENSSL_ENGINE),,out)-ssl-engine \
- --with$(if $(CONFIG_OPENSSH_LIBFIDO2),,out)-security-key-builtin \
--with-cflags-after=-fzero-call-used-regs=skip
ifeq ($(BUILD_VARIANT),with-pam)